package models

import (
	"time"
)

type TPipelineBranch struct {
	Id         string    `xorm:"not null pk VARCHAR(64)" json:"id"`
	Name       string    `xorm:"VARCHAR(100)" json:"name"`
	CreateTime time.Time `xorm:"DATETIME" json:"createTime"`
}

type ShowPipelineBranch struct {
	Name string `xorm:"VARCHAR(100)" json:"name"`
}

func (ShowPipelineBranch) TableName() string {
	return "t_pipeline_branch"
}
